﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="three.aspx.cs" Inherits="three" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <link href="css/WeiXinWeb.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        
    </style>
    <script type="text/jscript">

        var agt = navigator.userAgent.toLowerCase();
        var is_op = (agt.indexOf("opera") != -1);
        var is_ie = (agt.indexOf("msie") != -1) && document.all && !is_op;
        function ResizeTextarea(a, row) {
            if (!a) { return }
            if (!row)
                row = 5;
            var b = a.value.split("\n");
            var c = is_ie ? 1 : 0;
            c += b.length;
            var d = a.cols;
            if (d <= 20) { d = 40 }
            for (var e = 0; e < b.length; e++) {
                if (b[e].length >= d) {
                    c += Math.ceil(b[e].length / d)
                }
            }
            c = Math.max(c, row);
            if (c != a.rows) {
                a.rows = c;
            }
        }

        function funcFocus() { document.getElementById("TextArea1").focus(); }

    </script>
</head>
<body onload="funcFocus();">
    <form id="form1" runat="server">
    <div>
        <div class=" three_biaoti">
            <%=biaoti %>
        </div>
        <div>
            <asp:Image ID="Image1" runat="server" />
        </div>
        <div>
            <textarea id="TextArea1" class="three_textarea" onfocus="javascript:ResizeTextarea(this,4);"
                onclick="javascript:ResizeTextarea(this,4);" onkeyup="javascript:ResizeTextarea(this,4);"
                readonly="readonly" tabindex="0">  <%=zhengwen %> </textarea>
        </div>
    </div>
    </form>
</body>
</html>
